<?php

class Core_Form_Admincp_Post_Edit extends Nuo_Form
{
	function init()
	{
		$this -> setTitle('Edit Post');

		$this -> addChild('text', 'title', array('label' => 'Title'));

		$this -> addChild('textarea', 'content', array(
			'label' => 'Content',
			'class' => 'mceEditor'
		));

		$this -> addChild('group', '_footer');

		$this -> _footer -> addChild('submit', '_submit') -> addChild('cancel', '_cancel');

	}

}
